<template>
  <div>
    <el-form ref="form" :model="form" label-width="80px">
      <el-form-item label="课程视频:">
        <el-row>
          <el-col :span="8">
            
               132 
            
          </el-col>
          <el-col :span="8">
            
               132 
            
          </el-col>
          <el-col :span="8">
            
               132 
            
          </el-col>
        </el-row>
      </el-form-item>
      <el-row>
        <el-col :span="12">
          <el-form-item label="任务名称:">
            <el-input v-model="input" size="mini" clearable style="width: 200px" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="授课日期:">
            <el-date-picker v-model="value" type="datetime" placeholder="选择日期时间" size="mini" value-format="yyyy-MM-dd HH:mm:ss" style="width: 200px" />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="12">
          <el-form-item label="练习次数:">
            <el-input v-model="input" size="mini" clearable style="width: 200px" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="要求得分:">
            <el-input v-model="input" size="mini" clearable style="width: 200px" />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="12">
          <el-form-item label="开始时间:">
            <el-date-picker v-model="value" type="datetime" placeholder="选择日期时间" size="mini" value-format="yyyy-MM-dd HH:mm:ss" style="width: 200px" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="结束时间:">
            <el-date-picker v-model="value" type="datetime" placeholder="选择日期时间" size="mini" value-format="yyyy-MM-dd HH:mm:ss" style="width: 200px" />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button type="primary" size="mini">发布</el-button>
      <el-button size="mini" @click="handCancle">取消</el-button>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        name: ''
      },
      value: '',
      options: [],
      input: ''
    }
  },
  methods: {
    handCancle() {
      this.$emit('handCancle')
    }
  }
}
</script>

<style>
.flex{
  display: flex;
  justify-content: space-between;
}
.el-table th.gutter {
  display: table-cell !important
}
</style>
